export default {
  install (Vue) {
    Vue.prototype.loadStorge = function (key) {
      return JSON.parse(localStorage.getItem(key))
    }
    Vue.prototype.saveStorge = function (key, data) {
      localStorage.setItem(key, JSON.stringify(data))
    }
    Vue.prototype.deleteStorge = function (key) {
      localStorage.removeItem(key)
    }
  }
}
